﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ZTEElectronicsListToExcel.aspx.cs" Inherits="ViewbyProduct_ZTEElectronicsList_ZTEElectronicsListToExcel"
    Title="无标题页" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="text-align: center;">
        <br />
        <div style="clear: both;">
            <p align="center">
                产品类型：<asp:DropDownList ID="DropDownList1" runat="server">
                    <asp:ListItem Value="S102311004">TO9FLA88035201015M8_S102311004</asp:ListItem>
                    <asp:ListItem Value="S102411012">18A_S102411012</asp:ListItem>
                </asp:DropDownList>
            </p>
            <p align="center">&nbsp;</p>
        </div>
        <div style="text-align: center; clear: both; height: 339px; width: 50%; border: 1px solid Black;
            margin: 0 auto;">
            <div style="height: 100%; width: 70%; float: left;">
                <br />
                成品序列号：<asp:TextBox ID="TextBox2" runat="server" Height="22px" Width="124px"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" ErrorMessage="*"
                    ValidationGroup="VGroup1"></asp:RequiredFieldValidator><br />
                <br />
                <asp:ListBox ID="ListBox1" runat="server" Height="212px" Width="284px" SelectionMode="Multiple">
                </asp:ListBox>
                <br />
                共<asp:Label ID="Label1" runat="server" Text="0" ForeColor="Red"></asp:Label>个腔体
            </div>
            <div style="height: 100%; width: 30%; float: left;">
                <br />
                <br />
                <br />
                <br />
                <br />
                <asp:Button ID="Button1" runat="server" Text="添加" OnClick="Button1_Click" ValidationGroup="VGroup1" />
                <br />
                <br />
                <asp:Button ID="Button2" runat="server" Text="删除" OnClick="Button2_Click" />
                <br />
                <br />
                <asp:Button ID="Button3" runat="server" Text="清空" OnClick="Button3_Click" />
                <br />
                <br />
                <asp:Button ID="Button5" runat="server" OnClick="Button5_Click" Text="粘帖" />
            </div>
        </div>
        <div style="clear: both;">
            <p align="center">
                <asp:Button ID="Button4" runat="server" Text="导出指标单" OnClick="Button4_Click" />
            </p>
        </div>
        <br />
        <input id="myVal" runat="server" type="hidden" />
        <br />
    </div>
    <%--此功能在IE中可用，在Chrome中不可用--%>

    <script type="text/javascript">
        function PasteData() {
            var str = clipboardData.getData('text');
            //document.getElementById("ctl00_ContentPlaceHolder1_myVal").value = str;
            document.getElementById("<%=myVal.ClientID%>").value = str;
        }
    </script>

</asp:Content>
